import { DashboardIcon } from 'tdesign-icons-vue-next';
import { shallowRef } from 'vue';

import Layout from '@/layouts/index.vue';

export default [
  {
    path: '/test',
    component: Layout,
    redirect: '/test/list',
    name: 'test',
    meta: {
      title: {
        zh_CN: '测试',
        en_US: 'Test',
      },
      icon: shallowRef(DashboardIcon),
      orderNo: 1,
    },
    children: [
      {
        path: 'list',
        name: 'TestList',
        component: () => import('@/pages/test/list/index.vue'),
        meta: {
          title: {
            zh_CN: '测试列表',
            en_US: 'Test List',
          },
        }
      }
    ]
  }
];